package com.lx.iccp.activity.app;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 智能/国际风险管理平台
 * @author iccp
 *
 */
@SpringBootApplication(exclude ={SecurityAutoConfiguration.class, ManagementWebSecurityAutoConfiguration.class})
@MapperScan("com.lx.iccp.activity.app.mapper")
@ComponentScan(basePackages = {"com.lx.iccp"})
@EnableDiscoveryClient
@EnableDubbo
public class ActivityAppApplication {

    public static void main(String[] args) {
        SpringApplication.run(ActivityAppApplication.class, args);
    }

}